//! \file GuiError.h
//! \brief TODO: Document
// -----------------------------------------------------------------------------
//! This program is free software; you can redistribute it and/or
//! modify it under the terms of the GNU General Public License
//! as published by the Free Software Foundation; either version 2
//! of the License, or (at your option) any later version.
//!
//! This program is distributed in the hope that it will be useful,
//! but WITHOUT ANY WARRANTY; without even the implied warranty of
//! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//! GNU General Public License for more details.
//!
//! You should have received a copy of the GNU General Public License
//! along with this program; if not, write to the Free Software Foundation,
//! Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// -----------------------------------------------------------------------------
#ifndef dGUI_ERROR_H_
#define dGUI_ERROR_H_

#include "DataTypes.h"

//#ifdef __cplusplus
//extern "C"
//{
//#endif

using namespace std;
//namespace Gui {

//  // ===========================================================================
//  //! \typedef tERROR
//  //! \brief TODO: document
//  // ---------------------------------------------------------------------------
//  typedef std::tERROR tERROR;

// =====[ Errors Values ]=======================================================
//  static const tERROR ERR_NONE                                  = std::ERR_NONE;
static const tERROR ERR_INVALID_ARGUMENT                      = 301;

// =====[ SDL Errors ]==========================================================
static const tERROR ERR_SDL_START_FAILED                      = 310;
static const tERROR ERR_SDL_IMAGE_CREATION                    = 311;
static const tERROR ERR_SDL_THREAD_CREATION                   = 312;
static const tERROR ERR_SDL_SURFACE_CREATION                  = 313;

// =====[ User Interface Errors ]===============================================
static const tERROR ERR_GUI_DISPLAY_START                     = 350;
static const tERROR ERR_GUI_ELEMENT_UNINITIALIZED             = 351;
static const tERROR ERR_GUI_UNABLE_TO_CREATE                  = 352;

//} // namespace Gui

//#ifdef __cplusplus
//}
//#endif

#endif // dGUI_ERROR_H_
